package com.fyl.processor;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanPostProcessor;

public class LeLeBeanPostProcessor implements BeanPostProcessor {
    @Override
    public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {
        System.out.println("bean = " + bean);
        System.out.println("beanName = " + beanName);
        System.out.println("postProcessBeforeInitialization开始执行");
        return bean;
    }
}
